﻿using AdminStystem.Domain;
using Microsoft.EntityFrameworkCore;

namespace AdminSytem.EnitiyFrameWorkCore
{
    public class AdminStystemDBContext : DbContext
    {
        public AdminStystemDBContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<User> Users { get; set; }
        public DbSet<Traceability> traceabilities { get; set; }
        public DbSet<Goods> goods { get; set; }
        public DbSet<Cultivation> cultivations { get; set; }
        public DbSet<Enterprise> enterprises { get; set; }
        public DbSet<Slaughter> slaughters { get; set; }
        public DbSet<SEnterprise> sEnterprises { get; set; }
        public DbSet<Processingr> processingrs { get; set; }
        public DbSet<PEnterprise> pEnterprises { get; set; }
        public DbSet<RawMaterial> rawMaterials  { get; set; }
        public DbSet<Accessories> accessories  { get; set; }
        public DbSet<Additive> additives  { get; set; }
        public DbSet<PackagingMaterials> packagingMaterials  { get; set; }
        public DbSet<Provinces> provinces  { get; set; }
        public DbSet<Cities> cities  { get; set; }
        public DbSet<Areas> areas  { get; set; }
    }
}
